package com.yangzhe.interview.bean;

import java.util.List;

/**
 * 杨哲  版权所有(c)
 * Author：yangzhe
 * Time: 2017/5/8 16:41
 * <p>
 * 功能描述:
 */

public class TestBean<T> {

    /**
     * list : [{"id":"18","img":"https://cdnnew.qsygo.com/Public/Uploads/carousel/2017-04-15/58f1b8ea3d12245195.jpg","app_url":"385","title":"苹果手机","type":"1"},{"id":"23","img":"https://wwwnew.oss-cn-beijing.aliyuncs.com/Uploads/carousel/2017-04-19/58f6d4e20ceb816194.jpg","app_url":"https://wwwnew.qsygo.com/interface.php/activity/alipay","title":"支付宝提现流程","type":"3"},{"id":"24","img":"https://cdnnew.qsygo.com/Public/Uploads/carousel/2017-04-15/58f1d9136df7065064.jpg","app_url":"https://wwwnew.qsygo.com/interface.php/activity/announce","title":"官方承诺","type":"3"}]
     * lucky : [{"user_id":"1002810","goods_id":"297","time":"2017-05-06","period":"17","username":"苏苏","goodsname":"稻香村 北京特产 小麻花芝麻味 103g"},{"user_id":"1002810","goods_id":"278","time":"2017-05-06","period":"19","username":"苏苏","goodsname":"百草味  绿提子干 白葡萄干200g"},{"user_id":"1002797","goods_id":"278","time":"2017-05-05","period":"18","username":"lisas","goodsname":"百草味  绿提子干 白葡萄干200g"},{"user_id":"1002797","goods_id":"274","time":"2017-05-05","period":"21","username":"lisas","goodsname":"百草味 糕点点心特产 蔓越莓曲奇100g/袋"},{"user_id":"1002796","goods_id":"278","time":"2017-05-05","period":"17","username":"忠蓝海","goodsname":"百草味  绿提子干 白葡萄干200g"},{"user_id":"1002797","goods_id":"278","time":"2017-05-05","period":"16","username":"lisas","goodsname":"百草味  绿提子干 白葡萄干200g"},{"user_id":"1002797","goods_id":"274","time":"2017-05-05","period":"20","username":"lisas","goodsname":"百草味 糕点点心特产 蔓越莓曲奇100g/袋"},{"user_id":"1002797","goods_id":"278","time":"2017-05-05","period":"15","username":"lisas","goodsname":"百草味  绿提子干 白葡萄干200g"},{"user_id":"1002797","goods_id":"300","time":"2017-05-05","period":"9","username":"lisas","goodsname":"百草味 牛肉干 肉类零食 五香牛肉粒100g/袋"},{"user_id":"1000047","goods_id":"404","time":"2017-05-05","period":"3","username":"又中了","goodsname":"中国电信10元充值卡"}]
     * click : open
     * click1 : open
     * click2 : open
     * click3 : close
     */

    private String click;
    private String click1;
    private String click2;
    private String click3;
    private List<ListEntity> list;
    private List<LuckyEntity> lucky;

    public String getClick() {
        return click;
    }

    public void setClick(String click) {
        this.click = click;
    }

    public String getClick1() {
        return click1;
    }

    public void setClick1(String click1) {
        this.click1 = click1;
    }

    public String getClick2() {
        return click2;
    }

    public void setClick2(String click2) {
        this.click2 = click2;
    }

    public String getClick3() {
        return click3;
    }

    public void setClick3(String click3) {
        this.click3 = click3;
    }

    public List<ListEntity> getList() {
        return list;
    }

    public void setList(List<ListEntity> list) {
        this.list = list;
    }

    public List<LuckyEntity> getLucky() {
        return lucky;
    }

    public void setLucky(List<LuckyEntity> lucky) {
        this.lucky = lucky;
    }

    public static class ListEntity {
        /**
         * id : 18
         * img : https://cdnnew.qsygo.com/Public/Uploads/carousel/2017-04-15/58f1b8ea3d12245195.jpg
         * app_url : 385
         * title : 苹果手机
         * type : 1
         */

        private String id;
        private String img;
        private String app_url;
        private String title;
        private String type;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getApp_url() {
            return app_url;
        }

        public void setApp_url(String app_url) {
            this.app_url = app_url;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }

    public static class LuckyEntity {
        /**
         * user_id : 1002810
         * goods_id : 297
         * time : 2017-05-06
         * period : 17
         * username : 苏苏
         * goodsname : 稻香村 北京特产 小麻花芝麻味 103g
         */

        private String user_id;
        private String goods_id;
        private String time;
        private String period;
        private String username;
        private String goodsname;

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(String goods_id) {
            this.goods_id = goods_id;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getPeriod() {
            return period;
        }

        public void setPeriod(String period) {
            this.period = period;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getGoodsname() {
            return goodsname;
        }

        public void setGoodsname(String goodsname) {
            this.goodsname = goodsname;
        }
    }
}
